home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19950929-19951130 / 000006_news@columbia.edu_Tue Oct 3 20:39:26 1995.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Received: from apakabar.cc.columbia.edu by watsun.cc.columbia.edu with SMTP id AA28507
  2.   (5.65c+CU/IDA-1.4.4/HLK for <kermit.misc@watsun.cc.columbia.edu>); Tue, 3 Oct 1995 16:39:46 -0400
  3. Received: by apakabar.cc.columbia.edu id AA28123
  4.   (5.65c+CU/IDA-1.4.4/HLK for kermit.misc@watsun); Tue, 3 Oct 1995 16:39:43 -0400
  5. Path: news.columbia.edu!news.columbia.edu!not-for-mail
  6. From: fdc@columbia.edu (Frank da Cruz)
  7. Newsgroups: comp.protocols.kermit.misc
  8. Subject: Re: If..then in mscustom.ini?
  9. Date: 3 Oct 1995 16:39:26 -0400
  10. Organization: Columbia University
  11. Lines: 28
  12. Message-Id: <44s71u$rpu@watsun.cc.columbia.edu>
  13. References: <44pgi6$por@jaws.cs.hmc.edu>
  14. Nntp-Posting-Host: watsun.cc.columbia.edu
  15. Cc: 
  16.  
  17. In article <44pgi6$por@jaws.cs.hmc.edu>,
  18. Jose Kirkland  <jose@bernard.pitzer.edu> wrote:
  19. : Is it possible to place an if-then in the mscustom.ini, 
  20. : which would check a dos environmental variable, for ex, and 
  21. : perform a specific group of functions or not based upon 
  22. : that?
  23. Yes.  For example:
  24.  
  25.   if equal "\$(VARIABLENAME)" "blah" command...
  26.  
  27. : (purpose is mixed lanwp/non-lanwp env, want it to see if 
  28. : c:\net\bin dir exists on machine, if so connect one way, if 
  29. : not then normally... does this make sense?)
  30.   if directory c:\net\bin command...
  31.  
  32. : ps-- alternatively, can kermit be told upon execution to 
  33. : use a specific .ini file... ie can I make separate .ini's 
  34. : for each environment and let the batch which runs kermit 
  35. : determine which to select?
  36. kermit -f name-of-init-file
  37.  
  38. or alternatively, within MSCUSTOM.INI, put IF's and GOTO's
  39. based on the value of an environment variable.
  40.  
  41. - Frank